#include "globals.h"

bool debug = false;
bool loop = true;

SDL_Surface *screen = NULL;
SDL_Surface *imgMyPlayer = NULL;
SDL_Surface *imgPlayer = NULL;
SDL_Surface *imgFlag = NULL;
SDL_Surface *imgNpc = NULL;
SDL_Surface *tileSheet = NULL;

SDL_Surface *mmMyPlayer = NULL;
SDL_Surface *mmPlayer = NULL;
SDL_Surface *mmNpc = NULL;

// Debugging
SDL_Surface *position_surface = NULL;
SDL_Surface *players = NULL;
SDL_Surface *currfps = NULL;

Mix_Music *music = NULL;
TTF_Font *font = NULL;

SDL_Color textColor = { 255, 255, 255 };

Tile *tiles[MAP_HEIGHT][MAP_WIDTH];

Log output(LOGFILE);
Config cfg;
Login login;
myPlayer P;
std::map<RakNet::RakNetGUID, Player*> Players;
std::map<int, Npc*> Npcs;
Camera cam;
Minimap mm;
Input in;
Network net;
